// 用户相关类型

// 系统用户
export interface SysUser {
  userId: number
  userName: string
  nickName: string
  userType: string
  email: string
  phonenumber: string
  sex: number
  avatar: string
  status: number
  loginIp: string
  loginDate: Date
  remark: string
  createTime: Date
  updateTime: Date
  roleIds?: number[]
}

// 用户状态枚举
export enum UserStatus {
  DISABLE = 0, // 关闭
  ENABLE = 1 // 开启
}

// 用户性别枚举
export enum UserSex {
  MALE = 0,
  FEMALE = 1,
  OTHER = 2
}
